//
//  BDSpeechManager.h
//  BDSpeech
//
//  Created by jnl on 2017/12/7.
//  Copyright © 2017年 qin. All rights reserved.
//

#import <UIKit/UIKit.h>

//推荐的定义枚举类型的方式
typedef NS_ENUM(NSInteger, SPEEK_CMD) {
    CMD_NO_NETWORK=1,
    CMD_HELLO=2,
    CMD_NO_FAMILY=3,
    CMD_NO_GROUP=4,
    CMD_OK=5,
    CMD_SORRY=6,
    CMD_NO_CMD=7
};


@interface BDSpeechManager : NSObject

@property (nonatomic,copy)NSString  *languageKey;
@property (nonatomic,assign)BOOL  speechEnable;
@property (nonatomic,assign)NSInteger  playIndex;
@property (nonatomic,strong) NSInteger (^notifyRecognitResult)(NSString * result);

///单列化提供外部使用
+ (id)shareManager;

//#pragma mark - 停止唤醒
//-(void)stopWakeup;
//
//#pragma mark - 开始唤醒
//-(void)startWakeup;

#pragma mark - 启动识别
-(void)startRecognition;

#pragma mark - 取消识别
-(void)cancelRecognition;

#pragma mark - 设置识别语言
-(void)setASRLanguage;
//#pragma mark - 开始合成语音
//-(void)synthesizerContent:(NSString *)content;

@end
